package com.app.service;

import com.app.model.LotteryRecord;
import com.app.vo.LotteryRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 抽奖记录 服务类
 * </p>
 *
 * @author yoominic
 * @since 2023-12-16
 */
public interface ILotteryRecordService extends IService<LotteryRecord> {

    List<LotteryRecord> getNewRecords(Integer id);

    LotteryRecordVo myLotteryRecord(Integer userId, Integer activityId, Integer type, Integer page , Integer limit);

    Integer getUserTodayCount(Integer userId, Integer id);
}
